package cn.edu.scau.se33.dao;

import java.util.List;

import cn.edu.scau.se33.domain.BookInfo;

public interface BookDao {
	public List<BookInfo> findbook();
    public BookInfo findByAuthor(String author);
    public BookInfo findByLanguage(String language);
    public BookInfo findByPublisher(String publisher);
    public BookInfo findByBookTypename(String typename);
    public BookInfo findByBookTitle(String title);
    public BookInfo findByBookIsbn(int isbn);
    public int addbook(BookInfo b);
    public int deletebook(int isbn);
    public int updatebook(BookInfo b);
    public int updatebooknumber(BookInfo b);
    /*public int updatebooktypeid(BookInfo b);
    public int updatebooktitle(BookInfo b);
    public int updatebooklanguage(BookInfo b);
    public int updatebookpublisher(BookInfo b);
    public int updatebookpublish_year(BookInfo b);
    public int updatebookauthor(BookInfo b);
    public int updatebookprice(BookInfo b);
    
    public int updatebookstock(BookInfo b);
    public int updatebookdigest(BookInfo b);
    public int updatebooklocation(BookInfo b);*/
   

}
